package com.campusexpresspickup.mapper;

import com.campusexpresspickup.entity.OauthUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.campusexpresspickup.page.OauthUserPage;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lq
 * @since 2021-11-15
 */
@Mapper
public interface OauthUserMapper extends BaseMapper<OauthUser> {

  List<OauthUser> findUserByUserName(@Param("account") String account);

  List<OauthUser> findUserList(@Param("userPage")OauthUserPage userPage);


}
